package com.vma.jifu.service;

import com.vma.jifu.bizModel.model.Address;

import java.util.List;

/**
 * Created by chenzui on 2017/6/15.
 */
public interface AddressService {
    public Address qryDefaultAddressByUser(Integer userId);

    public List<Address> qryAddressListByUser(Integer userId);

    public void addAddress(Integer userId,String province,String city,
                           String area,String detail,Integer isDefault,String phone,String receiver);

    public void updateAddress(Integer id,Integer userId, String province,String city,String area,String detail,Integer isDefault,String phoen,String receiver);

    public void delete(Integer id,Integer userId);

}
